﻿using System.Text;
using ActionMailer.Net.Mvc;

namespace ITTestingSystem.Controllers
{
    public partial class MailController : MailerBase
    {
        public virtual EmailResult ConfirmRegistration(string email, string token)
        {
            To.Add(email);
            Subject = "Реєстрація";
            MessageEncoding = Encoding.UTF8;

            return Email("ConfirmRegistration", token);
        }
    }
}